package cn.itcast.nems.oldems.dto.oldapi;

/**
 * author liyong
 * create: 2024-03-14 15:50:19
 **/

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * 班级信息
 */
public class ClassInfoDto {
    /**
     * 班级ID
     */
    private Integer classId;
    /**
     * 是否开班
     */
    private Boolean openClass;
    /**
     * 入班日期(用于判断进入目标班级所处的阶段)
     */
    private LocalDate entryDate;
    /**
     * 出班日期 <br>
     * (用于判断离开原班级时所处阶段的结束日期,但不作为费用转移依据)
     */
    private LocalDate LeaveDate;

    /**
     * 班级总价<br>
     * 当存在此价格时, 此价格应作为目标班级对应阶段的执行价格
     */
    private BigDecimal contractFee;

    /**
     * 付费方式
     */
    private String paymentType;


    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    public Boolean getOpenClass() {
        return openClass;
    }

    public void setOpenClass(Boolean openClass) {
        this.openClass = openClass;
    }

    public LocalDate getEntryDate() {
        return entryDate;
    }

    public void setEntryDate(LocalDate entryDate) {
        this.entryDate = entryDate;
    }

    public LocalDate getLeaveDate() {
        return LeaveDate;
    }

    public void setLeaveDate(LocalDate leaveDate) {
        LeaveDate = leaveDate;
    }

    public BigDecimal getContractFee() {
        return contractFee;
    }

    public void setContractFee(BigDecimal contractFee) {
        this.contractFee = contractFee;
    }

    public String getPaymentType() {
        return paymentType;
    }

    public void setPaymentType(String paymentType) {
        this.paymentType = paymentType;
    }

}
